// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeRealtimeDiagnosesResponse.h"

namespace aliyun { namespace Rds {

DescribeRealtimeDiagnosesResponse::DescribeRealtimeDiagnosesResponse() {
}

const string& DescribeRealtimeDiagnosesResponse::RealtimeDiagnoseTasks::GetCreateTime(void) const {
  return CreateTime_;
}

const string& DescribeRealtimeDiagnosesResponse::RealtimeDiagnoseTasks::GetTaskId(void) const {
  return TaskId_;
}

const string& DescribeRealtimeDiagnosesResponse::RealtimeDiagnoseTasks::GetHealthScore(void) const {
  return HealthScore_;
}

const string& DescribeRealtimeDiagnosesResponse::RealtimeDiagnoseTasks::GetStatus(void) const {
  return Status_;
}

const std::vector<DescribeRealtimeDiagnosesResponse::RealtimeDiagnoseTasks>& DescribeRealtimeDiagnosesResponse::GetTasks(void) const {
  return Tasks_;
}

const string& DescribeRealtimeDiagnosesResponse::GetEngine(void) const {
  return Engine_;
}

int DescribeRealtimeDiagnosesResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeRealtimeDiagnosesResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeRealtimeDiagnosesResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeRealtimeDiagnosesResponse::BaseKey(void) {
  return "DescribeRealtimeDiagnosesResponse";
}

void DescribeRealtimeDiagnosesResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Tasks__length = 0;
  UnmarshallerInt(Tasks__length, response_map, "DescribeRealtimeDiagnosesResponse.Tasks.Length");
  if(Tasks__length >= 0) {
    Tasks_.resize(Tasks__length);
    for(int i1 = 0; i1 < Tasks__length; i1++) {
      UnmarshallerString(Tasks_[i1].CreateTime_, response_map, "DescribeRealtimeDiagnosesResponse.Tasks["+string_ValueOfInt(i1)+"].CreateTime");
      UnmarshallerString(Tasks_[i1].TaskId_, response_map, "DescribeRealtimeDiagnosesResponse.Tasks["+string_ValueOfInt(i1)+"].TaskId");
      UnmarshallerString(Tasks_[i1].HealthScore_, response_map, "DescribeRealtimeDiagnosesResponse.Tasks["+string_ValueOfInt(i1)+"].HealthScore");
      UnmarshallerString(Tasks_[i1].Status_, response_map, "DescribeRealtimeDiagnosesResponse.Tasks["+string_ValueOfInt(i1)+"].Status");
    } // for(int i1 = 0; i1 < Tasks__length; i1++) {
  } // if(Tasks__length >= 0) {

  UnmarshallerString(Engine_, response_map, "DescribeRealtimeDiagnosesResponse.Engine");
  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeRealtimeDiagnosesResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeRealtimeDiagnosesResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeRealtimeDiagnosesResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds {

// end of file 
